import request from '@/utils/request.js'

// 答疑
export function getQuestion(data) {
  return request({
    url: '/api/v1.question/getQustionData',
    method: 'POST',
    data
  })
}

// 答疑列表
export function getQustionList(data) {
  return request({
    url: '/api/v1.question/getQustionList',
    method: 'POST',
    data
  })
}

// 添加问题
export function getAddProblem(data) {
  return request({
    url: '/api/v1.question/addQuestion',
    method: 'POST',
    data
  })
}

// 答疑详情
export function getQuestionInfo(data) {
  return request({
    url: '/api/v1.question/getQuestionInfo',
    method: 'POST',
    data
  })
}

// 获取问题回复
export function getQuestionReply(data) {
  return request({
    url: '/api/v1.question/getQuestionReply',
    method: 'POST',
    data
  })
}

// 添加问题
export function getSubjeck(data) {
  return request({
    url: '/api/v1.question/getSubjeck',
    method: 'POST',
    data
  })
}

// 答疑菜单
export function getMenu(data) {
  return request({
    url: '/api/v1.question/getMenu',
    method: 'POST',
    data
  })
}
